import { sdkRequest } from '@/utils/sdkReuqest'
import { productApi } from '@/config'

export function addNewspaper(param, page) { // 报社：新增/编辑
	return sdkRequest(
		'post',
		`/${productApi}/newspaper_info/save_newspaper_info/v1`,
		param,
		page
	)
}

export function delNewspaper(param, page) { //  报社：删除
	return sdkRequest(
		'post',
		`/${productApi}/newspaper_info/delete_newspaper/v1`,
		param,
		page
	)
}

export function getNewspaperList(param, page) { //  报社：查询
	return sdkRequest(
		'post',
		`/${productApi}/newspaper_info/get_newspaper_list/v1`,
		param,
		page
	)
}
